package com.lzm.niuKeBiz.controller;


//import com.lzm.common.Test.Result;
import com.lzm.niuKeBiz.entity.DeptEmp;
import com.lzm.niuKeBiz.service.IDeptEmpService;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author nd
 * @since 2021-09-30
 */
@RestController
@RequestMapping("/deptEmp")
public class DeptEmpController {
    @Autowired
    private IDeptEmpService deptEmpService;

/*
    @ApiOperation(value = "test")
    @GetMapping("/test")
    public Result<List<DeptEmp>> test() {
        List<DeptEmp> list = deptEmpService.lambdaQuery().list();
        return Result.okk(list);
    }
*/
        @GetMapping("/getTest")
        public String getTest(){
            return "234";
        }
}
